package com.hccl.mongoEntities;


import entities.Reply;
import org.bson.types.ObjectId;
import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Id;

import java.util.List;

@Entity(value = "config", noClassnameStored = true)
public class ConfigEntity {
    @Id
    protected ObjectId id;
    protected Reply greeting;
    protected List<ExceptionEntityEntity> exceptions;

    public Reply getGreeting() {
        return greeting;
    }

    public void setGreeting(Reply greeting) {
        this.greeting = greeting;
    }

    public List<ExceptionEntityEntity> getExceptions() {
        return exceptions;
    }

    public void setExceptions(List<ExceptionEntityEntity> exceptions) {
        this.exceptions = exceptions;
    }
}
